﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊转诊信息表
    /// </summary>
    public partial class OptReferralInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public int PatientId { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public int RegNo { get; set; }
        /// <summary>
        /// 转诊前就诊流水号
        /// </summary>
        public int? ReceptionNo { get; set; }
        /// <summary>
        /// 转诊前院区ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 转诊前科室编码
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 转诊前医生编码
        /// </summary>
        public int DoctorId { get; set; }
        /// <summary>
        /// 转诊后院区ID
        /// </summary>
        public int ReferralHospitalId { get; set; }
        /// <summary>
        /// 转诊后科室编码
        /// </summary>
        public int ReferralDeptId { get; set; }
        /// <summary>
        /// 转诊后医生编码
        /// </summary>
        public int ReferralDoctorId { get; set; }
        /// <summary>
        /// 诊断编码
        /// </summary>
        public string? DiagnoseCode { get; set; }
        /// <summary>
        /// 诊断名称
        /// </summary>
        public string? DiagnoseName { get; set; }
        /// <summary>
        /// 转诊理由
        /// </summary>
        public string? Reason { get; set; }
        /// <summary>
        /// 有效状态 1有效 0无效
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
